import java.util.stream.Stream;

public class StreamDemo4 {
    public static void main(String[] args){
        //一推零散数据，但是是一种类型的
        Stream.of(1,2,3,4,5,6).forEach(s-> System.out.println(s));

        Stream.of("a","c","f","d","r").forEach(s-> System.out.println(s));

    }
}
